package com.sara.entity;

import java.sql.Timestamp;
import java.util.List;

public class Movie {
    private Integer id;
    private String movieName;
    private String directorName;
    private String area;
    private String year;
    private String imgPath;
    private String content;
    private String simpoContent;
    private Timestamp createTime;

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", movieName='" + movieName + '\'' +
                ", directorName='" + directorName + '\'' +
                ", area='" + area + '\'' +
                ", year='" + year + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", content='" + content + '\'' +
                ", simpoContent='" + simpoContent + '\'' +
                ", createTime=" + createTime +
                ", typeList=" + typeList +
                ", scanNum=" + scanNum +
                '}';
    }

    public List<Type> getTypeList() {
        return typeList;
    }

    public void setTypeList(List<Type> typeList) {
        this.typeList = typeList;
    }

    private List<Type> typeList;




    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName;
    }

    public String getDirectorName() {
        return directorName;
    }

    public void setDirectorName(String directorName) {
        this.directorName = directorName;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getSimpoContent() {
        return simpoContent;
    }

    public void setSimpoContent(String simpoContent) {
        this.simpoContent = simpoContent;
    }

    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    public Integer getScanNum() {
        return scanNum;
    }

    public void setScanNum(Integer scanNum) {
        this.scanNum = scanNum;
    }

    private Integer scanNum = 0;

}
